package com.be.beadmin.design.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class BomReviewExcelEx {
//    @ExcelProperty("审批的原bom行的主键")
//    private String bomBeforeId;
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("BOM编号")
    private String bomCode;
    @ExcelProperty("变更状态")
    private Integer changeStatus;
    @ExcelProperty("审核备注")
    private String memo;
    @ExcelProperty("申请人")
    private String userName;
    @ExcelProperty("版本")
    private Integer version;
    @ExcelProperty("小版本")
    private Integer versionSecond;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Data createTime;

//    @ExcelProperty("BOM行号")
//    private String bomSequence;
//    @ExcelProperty("品牌")
//    private String brand;
//
//    @ExcelProperty("变更是否成功")
//    private Integer changeSuccess;
//    @ExcelProperty("是否甲供料")
//    private String isJia;
//    @ExcelProperty("是否为最高版本")
//    private Integer isMax;
//    @ExcelProperty("物料分类")
//    private String materialClassification;
//    @ExcelProperty("物料编码")
//    private String materialCode;
//    @ExcelProperty("物料名称")
//    private String materialName;
//    @ExcelProperty("所需物料数量")
//    private Integer materialQty;
//    @ExcelProperty("规格")
//    private String materialSpec;
//    @ExcelProperty("物料种类")
//    private String materialType;
//    @ExcelProperty("(安装)位置号")
//    private String positionNo;
//    @ExcelProperty("产品/柜体编号")
//    private String productCode;
//
//    @ExcelProperty("单位")
//    private String unit;
//    @ExcelProperty("申请人id")
//    private String userId;
//
//
//    @ExcelProperty("主表id")
//    private String reviewMainId;
//    @ExcelProperty("修改前所需物料数量")
//    private Integer preMaterialQty;
}
